package com.jinduplan.planmanager.bean;

import java.util.Objects;

public class FacadeBean {
   private String facade_name;
   private int id;
   private boolean isSelect = false;

   public boolean isSelect() {
      return isSelect;
   }

   public void setSelect(boolean select) {
      isSelect = select;
   }

   public String getFacade_name() {
      return facade_name;
   }

   public void setFacade_name(String facade_name) {
      this.facade_name = facade_name;
   }

   public int getId() {
      return id;
   }

   public void setId(int id) {
      this.id = id;
   }

   @Override
   public boolean equals(Object o) {
      if (this == o) return true;
      if (!(o instanceof FacadeBean)) return false;
      FacadeBean that = (FacadeBean) o;
      return id == that.id && Objects.equals(facade_name, that.facade_name);
   }

   @Override
   public int hashCode() {
      return Objects.hash(facade_name, id);
   }
}
